package xyz.xtt.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.activity.entity.TblArtAmberOrder;

/**
 * <p>
 * 国家信息表 服务类
 * </p>
 *
 * @author author
 * @since 2025-01-19
 */
public interface ITblArtAmberOrderService extends IService<TblArtAmberOrder> {
	/**
	 * @param transactionId
	 * @return
	 */
	TblArtAmberOrder info(Long transactionId);

	/**
	 * 发卡异常
	 * 
	 * @param transactionId
	 * @return
	 */
	TblArtAmberOrder infoException(Long transactionId);

	/**
	 * 订单维度缓存
	 * 
	 * @param transactionId
	 * @return
	 */
	TblArtAmberOrder infoWithCache(Long transactionId);

	/**
	 * @param orderNumber
	 * @param uid
	 * @return
	 */
	Boolean updateArtAmberOrderStatus(String orderNumber, Long uid);

	/**
	 * 根据id得新订单状态
	 * 
	 * @param orderId
	 * @return
	 */
	Boolean updateArtAmberOrderStatusWithId(Long orderId);
}
